﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Surpass.Repository.Migrations
{
    public partial class uptfw12 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "OperatorId",
                table: "WF_Node",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(Guid),
                oldType: "uniqueidentifier",
                oldNullable: true);

            migrationBuilder.AlterColumn<string>(
                name: "OperatorId",
                table: "WF_FlowRecord",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(Guid),
                oldType: "uniqueidentifier",
                oldNullable: true);

            migrationBuilder.AlterColumn<string>(
                name: "ToDoerId",
                table: "WF_FlowInstance",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(Guid),
                oldType: "uniqueidentifier",
                oldNullable: true);

            migrationBuilder.AlterColumn<string>(
                name: "StarterId",
                table: "WF_FlowInstance",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(Guid),
                oldType: "uniqueidentifier",
                oldNullable: true);

            migrationBuilder.AlterColumn<string>(
                name: "OperatorId",
                table: "WF_FlowInstance",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(Guid),
                oldType: "uniqueidentifier",
                oldNullable: true);

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4375), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4374) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4384), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4383) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4387), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4385) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4380), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4379) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4378), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4376) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4390), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4388) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4392), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4391) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4395), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4393) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4330), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(2384) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4372), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4371) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4397), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4396) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4354), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4352) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4358), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4356) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4400), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4399) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4403), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4401) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4406), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4405) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4361), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4359) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4409), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4408) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4412), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4410) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4414), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4413) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4417), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4415) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4364), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4362) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4419), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4418) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4422), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4421) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 961, DateTimeKind.Local).AddTicks(9397), new DateTime(2021, 11, 13, 8, 44, 37, 961, DateTimeKind.Local).AddTicks(8751) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8512), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8511) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8519), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8518) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8521), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8520) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8516), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8515) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8514), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8513) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8523), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8522) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8525), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8524) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8526), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8525) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8330), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(7801) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8510), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8509) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8528), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8527) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8499), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8496) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8502), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8501) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8530), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8529) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8532), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8531) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8534), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8533) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8504), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8503) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8536), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8535) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8538), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8537) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8540), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8539) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8541), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8541) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8506), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8505) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8543), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8542) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8545), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8544) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 960, DateTimeKind.Local).AddTicks(4685), new DateTime(2021, 11, 13, 8, 44, 37, 960, DateTimeKind.Local).AddTicks(4889) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 962, DateTimeKind.Local).AddTicks(1659), new DateTime(2021, 11, 13, 8, 44, 37, 962, DateTimeKind.Local).AddTicks(1148) });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<Guid>(
                name: "OperatorId",
                table: "WF_Node",
                type: "uniqueidentifier",
                nullable: true,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.AlterColumn<Guid>(
                name: "OperatorId",
                table: "WF_FlowRecord",
                type: "uniqueidentifier",
                nullable: true,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.AlterColumn<Guid>(
                name: "ToDoerId",
                table: "WF_FlowInstance",
                type: "uniqueidentifier",
                nullable: true,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.AlterColumn<Guid>(
                name: "StarterId",
                table: "WF_FlowInstance",
                type: "uniqueidentifier",
                nullable: true,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.AlterColumn<Guid>(
                name: "OperatorId",
                table: "WF_FlowInstance",
                type: "uniqueidentifier",
                nullable: true,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1370), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1368) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1378), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1377) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1380), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1379) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1375), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1374) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1372), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1371) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1383), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1381) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1385), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1384) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1387), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1386) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1330), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(111) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1367), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1366) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1390), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1388) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1353), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1351) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1356), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1354) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1392), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1391) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1394), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1393) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1398), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1397) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1358), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1357) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1400), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1399) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1402), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1401) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1405), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1404) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1407), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1406) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1361), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1359) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1409), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1408) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1411), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1410) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 205, DateTimeKind.Local).AddTicks(7012), new DateTime(2021, 11, 12, 16, 42, 35, 205, DateTimeKind.Local).AddTicks(6420) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4966), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4965) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4973), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4972) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4974), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4974) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4970), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4969) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4968), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4967) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4976), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4976) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4978), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4977) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4980), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4979) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4708), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4184) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4964), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4963) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4982), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4981) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4954), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4950) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4956), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4955) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4984), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4983) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4985), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4985) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4988), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4987) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4958), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4957) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4990), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4989) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4992), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4991) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4994), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4993) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4995), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4995) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4960), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4959) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4997), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4996) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4999), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4998) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 204, DateTimeKind.Local).AddTicks(6111), new DateTime(2021, 11, 12, 16, 42, 35, 204, DateTimeKind.Local).AddTicks(6314) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 205, DateTimeKind.Local).AddTicks(9688), new DateTime(2021, 11, 12, 16, 42, 35, 205, DateTimeKind.Local).AddTicks(8914) });
        }
    }
}
